﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace BlondeHeaven.UI.Models
{
    public class RegisterUserViewModel
    {
        public string Name { get; set; }
        public int Age { get; set; }

        public bool Sex { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        [Required, StringLength(40)]
        public string Phone { get; set; }
        /// <summary>
        /// 照片
        /// </summary>
        [StringLength(5000)]
        public string Photo { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string Address { get; set; }
        [Required, StringLength(50)]
        public string PassWrod { get; set; }
    }
}
